<template>
  <div>
    <router-view />
  </div>
</template>

<script lang="ts" setup>
import { useSystemStore } from '@/pinia/system'
const systemStore = useSystemStore()

onMounted(async () => {
  window.electron.ipcRenderer.on('cross-window-useSystemStore', (_, data) => {
    systemStore.editstore(data.data)
  })
})
</script>

<style scoped lang="scss"></style>
